M291 P"Select an option:" R"EventLogging Toggle" S4 K{"Enable", "Disable"} F0

if input = 1
  echo >"0:/sys/user/actions/EventLogging.g" "; EventLogging Disabled"
  echo "EventLogging Disabled"
else
  echo >"0:/sys/user/actions/EventLogging.g" "M929 P""eventlog.txt"" S1 ; EventLogging Enabled"
  echo "EventLogging Enabled"